package org.codehaus.mojo.wagon.shared;

import org.apache.maven.plugin.logging.Log;
import org.apache.maven.wagon.Wagon;
import org.apache.maven.wagon.WagonException;

import java.io.IOException;

public interface MavenRepoMerger {

    String IN_PROCESS_MARKER = ".rip";

    String MD5 = "md5";

    String SHA1 = "sha1";

    String MAVEN_METADATA = "maven-metadata.xml";

    void merge(Wagon fromWagon, Wagon toWagon, boolean optimize, Log logger) throws WagonException, IOException;
}
